<%-- 
    Document   : loginadmin
    Created on : Dec 12, 2011, 10:43:11 AM
    Author     : THIENSUHACK
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Login Admin Site</title>
         <style>
      div#text-loginadmin
    {
        width: 100%;
        height: 30px;
        background: url('../frontend/images/cat_back.gif') repeat-x;
        text-align: center;
        padding-top: 5px;
        font-weight: bolder;
        font-size: 14px;
        color: white;
        border-radius:5px;
        margin: 0px auto;
    }
        </style>
    </head>
    <body>
        
       
        <div style="width: 90%;height: auto;margin: 0 auto;">
            <div><h1 style="text-align: center;">---TRANG ĐĂNG NHẬP QUẢN TRỊ---</h1></div>
            <div><% if(session.getAttribute("adminerror")!=null) { out.print(session.getAttribute("adminerror").toString()); session.removeAttribute("adminerror");
            } %></div>           
            <form action="loginadmin_post.jsp" method="post" style="margin: 0 auto;width: 35%;border: 1px solid;border-top-left-radius: 5px;border-top-right-radius: 5px;">
                 <div id="text-loginadmin">ĐĂNG NHẬP ADMIN</div>
                <table>
                    <tr>
                        <td>Tên đăng nhập:</td><td><input type="text" name="adminname" /></td>                        
                    </tr>
                    <tr><td>Mật khẩu:</td><td><input type="password" name="adminpass" /></td></tr>
                    <tr><td></td><td><input type="submit" name="loginadmin" value="Đăng Nhập"/></td></tr>
                </table>
            </form>
        </div>
    </body>
</html>
